<!doctype html>
<html class="no-js" lang="">

<!--<head>-->
  <!--<meta charset="utf-8">-->
  <!--<meta http-equiv="x-ua-compatible" content="ie=edge">-->
  <!--<title>截图上传</title>-->
  <!--<meta name="description" content="">-->
  <!--<meta name="viewport" content="width=device-width, initial-scale=1">-->

  <!--<link rel="manifest" href="site.webmanifest">-->
  <!--<link rel="apple-touch-icon" href="../icon.png">-->
  <!--&lt;!&ndash; Place favicon.ico in the root directory &ndash;&gt;-->
  <!--<link rel="shortcut icon" href="../favicon.ico">-->
  <!--<link rel="stylesheet" href="../css/reset.css">-->
  <!--<link rel="stylesheet" href="../css/weui.css">-->
  <!--<link rel="stylesheet" href="../css/styles.css">-->
  <!--<script src="../js/vendor/flexible.js"></script>-->
<!--</head>-->

{include file="boot/header" title="订单列表" description="" /}

<body>
  <!--[if lte IE 9]>
            <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
        <![endif]-->

  <!-- Add your site or application content here -->
  <div class="screenshot jietu page_container">
    <form>
      <div class="imgupload_sigle">
        <div class="title">
          <h3>搜索产品图</h3>
          <span><i>0</i>/1</span>
        </div>
        <div class="imgs_box">
          <input type="file" hidden id="like" accept="image/*" onchange="uploadImage(this,'order')">
          <input type="text" hidden name="like" value="" />
          <label for="like"><img src="/static/img/add.png" alt="" /></label>
        </div>
      </div>


      <div class="imgupload_sigle">
        <div class="title">
          <h3>主款（5分钟）-上、中、下</h3>
          <span><i>0</i>/3</span>
        </div>
        <div class="imgs_box">
          <input type="file" hidden id="main_up" accept="image/*" onchange="uploadImage(this,'order')">
          <input type="text" hidden name="main_up" value="" />
          <label for="main_up"><img src="/static/img/add.png" alt="" /></label>
        </div>
        <div class="imgs_box">
          <input type="file" hidden id="main_center" accept="image/*" onchange="uploadImage(this,'order')">
          <input type="text" hidden name="main_center" value="" />
          <label for="main_center"><img src="/static/img/add.png" alt="" /></label>
        </div>
        <div class="imgs_box">
          <input type="file" hidden id="main_low" accept="image/*" onchange="uploadImage(this,'order')">
          <input type="text" hidden name="main_low" value="" />
          <label for="main_low"><img src="/static/img/add.png" alt="" /></label>
        </div>
      </div>

      <p class="time_count">任务关闭倒计时<span>{$time.min}:{$time.sec}</span></p>

    </form>



    <a href="javascript:;" class="weui-btn weui-btn_primary main_button" onclick="orderFlowerUpload('{$order_info.order_id}')">确认上传</a>
  </div>

  <!--<script src="../js/vendor/jquery-3.2.1.min.js"></script>-->
  <!--<script src="../js/vendor/weui.min.js"></script>-->
  <!--<script src="../js/main.js"></script>-->

  {include file="boot/foot"/}

  <script>
      var time = $(".time_count").find("span").text();
      var tim_arr = time.split(":");
      var min = tim_arr[0];
      var sec = tim_arr[1];
      var total = (min*60 + parseInt(sec));
      function setTime() {
          window.setTimeout(function () {
              total = total - 1;
              if (total == 0) {
                  $(".time_count").find("span").text("00:00");
                  return;
              }
              var min_1 = total / 60;
              min_1 = parseInt(min_1);
              var sec_1 = total % 60;
              sec_1 = sec_1 < 10 ? "0" + sec_1 : sec_1;
              var time_1 = min_1 + ":" + sec_1;
              $(".time_count").find("span").text(time_1);
              setTime();

          }, 1000);
      }

      setTime();



  </script>
</body>

</html>
